package com.qf.hospital.dto;

/**
 * @author ASUS
 * @version V1.0
 * @Project hospital
 * @Package com.qf.hospital.dto
 * @Date 2021/10/19 17:08
 */
public class SysMenuDTO {

    private Integer id;

    /**
     * 父节点id
     */
    private Integer parentId;

    /**
     * 标题
     */
    private String title;

    /**
     * 访问地址
     */
    private String href;

    /**
     * 0-不展开,1-展开
     */
    private Integer spread;

    private String target;

    /**
     * 图标
     */
    private String icon;

    /**
     * 0-不可用,1-可用
     */
    private Integer available;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public void setPid(Integer parentId) {
        this.parentId = parentId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getHref() {
        return href;
    }

    public void setHref(String href) {
        this.href = href;
    }

    public Integer getSpread() {
        return spread;
    }

    public void setSpread(Integer spread) {
        this.spread = spread;
    }

    public String getTarget() {
        return target;
    }

    public void setTarget(String target) {
        this.target = target;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public Integer getAvailable() {
        return available;
    }

    public void setAvailable(Integer available) {
        this.available = available;
    }

    public SysMenuDTO(Integer id, Integer parentId, String title, String href, Integer spread, String target, String icon, Integer available) {
        this.id = id;
        this.parentId = parentId;
        this.title = title;
        this.href = href;
        this.spread = spread;
        this.target = target;
        this.icon = icon;
        this.available = available;
    }

    public SysMenuDTO() {
    }
}
